﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.AspNet.Membership.OpenAuth;

public partial class Account_Login : Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

        var returnUrl = HttpUtility.UrlEncode(Request.QueryString["ReturnUrl"]);
        if (!String.IsNullOrEmpty(returnUrl))
        {
            
        }

        var x = Page.Session;
        var y = x.IsNewSession;

        var hasLocalPassword = OpenAuth.HasLocalPassword(User.Identity.Name);

    }
}